package xkp.lesson.springboot_shiro.dao;

import org.apache.ibatis.annotations.Mapper;
import xkp.lesson.springboot_shiro.entity.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoDao {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo selectUserInfoByName(String userName);

    List<UserInfo> selectAll();
}